<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改机组信息</title>
    <style type="text/css">

        label {width: 10em; margin-right: 1em; text-align: right; }

        form div{
            padding-top: 20px;
        }
    </style>
</head>
<body >
<div style="text-align: center;">
    <h1 >添加设备信息</h1>
    <form th:action="@{/unit/updateSvae/{unitId}(unitId=${un.id})}" method="post">
        <div>
            <label>设备编码:</label>
            <input type="text" name="unitCode" th:field="${un.unitCode}"/>
        </div>
        <div>
            <label>设备名称:</label>
            <input type="text" name="unitName" th:field="${un.unitName}"/>
        </div>

        <div style="text-align: center">
            <input type="submit" value="提交" />
        </div>
    </form>

</div>

</body>
</html>
</body>
</html>